package com.clear.club.circle.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.clear.club.circle.api.req.GetShareCommentReplyReq;
import com.clear.club.circle.api.req.RemoveShareCommentReplyReq;
import com.clear.club.circle.api.req.SaveShareCommentReplyReq;
import com.clear.club.circle.api.vo.ShareCommentReplyVO;
import com.clear.club.circle.server.entity.po.ShareCommentReply;

import java.util.List;

/**
 * 评论及回复信息(ShareCommentReply)表服务接口
 *
 * @author makejava
 * @since 2024-07-03 18:05:54
 */
public interface ShareCommentReplyService extends IService<ShareCommentReply> {

    /**
     * 发布内容   评论或回复
     */
    Boolean saveComment(SaveShareCommentReplyReq req);

    /**
     * 删除评论或回复
     */
    Boolean removeComment(RemoveShareCommentReplyReq req);

    /**
     * 查询动态下的评论
     */
    List<ShareCommentReplyVO> listComment(GetShareCommentReplyReq req);
}
